<template>
  <div class="app-container">
    <analyze :dateRange="queryData"></analyze>
    <el-tabs v-model="activeName" type="border-card">
      <el-tab-pane label="资产合计" name="0">
        <assets-total v-if="activeName == 0"></assets-total>
      </el-tab-pane>
      <el-tab-pane label="资产明细" name="1">
        <assets-details v-if="activeName == 1"></assets-details>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import assetsTotal from './assetsTotal.vue';
import assetsDetails from './assetsDetails.vue';
import analyze from './analyze.vue';
export default {
  name: "iecturer",
  components: {
    assetsTotal,
    assetsDetails,
    analyze
  },
  data() {
    return {
      // tab切换值
      activeName: '0',
    };
  },
  created() {
  },
  methods: {
  }
};
</script>